package com.hxzy.service;

import com.hxzy.common.util.strategy.CartStorategy;
import com.hxzy.controller.mobile.cart.req.CartAddReq;
import com.hxzy.controller.mobile.cart.resp.MobileCartResp;
import com.hxzy.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author admin
* @description 针对表【shopping_cart(购物车)】的数据库操作Service
* @createDate 2024-02-21 11:30:41
*/
public interface ShoppingCartService extends IService<ShoppingCart>, CartStorategy {

    /**
     * 用户某个商家的购物车信息
     * @param merchantId
     * @return
     */
    List<MobileCartResp> cartList(Long merchantId);


}
